package cn.edu.dao.impl;

import cn.edu.dao.IProvince;
import cn.edu.entity.Province;
import cn.edu.util.ProvinceUtil;

import java.util.List;

public class IProvinceImpl implements IProvince {
    @Override
    public List<Province> getProvinces() throws Exception {
        String sql = "select * from tb_province ";
        return ProvinceUtil.getList(sql,null);

    }
}
